package com.yumingjiang.expand.beancreate;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

/**
 * @description:
 * @author: John
 * @version: B.java, v1.0 2025年01月05日 21:26
 */
@Slf4j
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class B {
    private String name;

    //初始化注解
    public void init(){
        log.info("B was created.");
    }
}